<?php

class Model_Table_Item_comment extends Zend_Db_Table_Abstract {

    protected $_name = 'item_comment';
    protected $_primary = 'comment_id';

    public function getPrimaryKey() {
        if (is_array($this->_primary)) {
            return $this->_primary [1];
        } else {
            return $this->_primary;
        }
    }

    public function getTableName() {
        if (is_array($this->_name)) {
            return $this->_name [1];
        } else {
            return $this->_name;
        }
    }

}